Fully Qualified Name: | Laminas\Crypt\Key\Derivation\Scrypt |
Scrypt key derivation function
Name | Description | Defined By |
---|---|---|
calc() | Execute the scrypt algorithm | Scrypt |
Execute the scrypt algorithm
Parameter Name | Type | Description |
---|---|---|
$password | string | |
$salt | string | |
$n | int | CPU |
$r | int | Memory |
$p | int | parallelization |
$length | int | size |
Returns: string